# encoding: utf-8
from wtforms import Form, IntegerField, StringField, DateTimeField, validators


class PaginatorForm(Form):
    """
    用于所有需要验证分页的基类
    """
    page = IntegerField("page", [validators.Optional()])
    pageSize = IntegerField("pageSize", [validators.Optional()])     


class QueryForm(Form):
    """
    用于通用条件查询的表单验证类
    """
    pass
